package com.ssy.lingxi.platform.manage.repository;

import com.ssy.lingxi.platform.manage.entity.base.CountryArea;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CountryAreaRepository extends JpaRepository<CountryArea, Long> {

    List<CountryArea> findAllByState(Integer stateValid);

    void deleteAllByIdIn(List<Long> ids);
}
